#!/bin/sh
#desc: Play captures
#package:odvideo
#type:local

echo "#> Playing resource $1"
echo "form:`basename $0`"

if ! test -f "/etc/opendomo/video/common.conf"; then
   cp /etc/opendomo/video/common.conf.orig /etc/opendomo/video/common.conf
fi

. /etc/opendomo/video/common.conf


url="/cgi-bin/od.cgi?play_mjpg=$1:s0"
echo "	player	$1	videofile	$url"

echo "actions:"
echo
